home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / basic / 6300gray.zip / README < prev   
Text File  |  1988-08-16  |  2KB  |  44 lines

  1.                               G R A Y    S C A L E
  2.  
  3.                         P L O T T I N G    P R O G R A M
  4.  
  5.                                  F O R    T H E
  6.  
  7.                              A T & T    P C 6 3 0 0
  8.  
  9.  
  10.                                  12 AUGUST 1988
  11.  
  12.  
  13.  
  14.      The program  in this archive will plot a two dimensional array of data
  15.      of size  up to  128 by  128 as pixels with shades of gray from 0 to F.
  16.      It is a GWBASIC program that makes use of the 640 by 400 screen of the
  17.      AT&T PC6300.   The  programming is  very straightforward  and there is
  18.      sufficient documentation to describe how the pixels are drawn.
  19.  
  20.      GRAY.BAS       This  program   generates  a   gray  scale  plot  of  a
  21.                     rectangular array  of data.   The  data is  assumed  to
  22.                     consist only  of the hexadecimal digits 0..F (one digit
  23.                     per pixel).   To run the program type GWBASIC GRAY, the
  24.                     screen clears  and then  prompts for the name of a data
  25.                     file, e.g.  DIPOLE.DAT.   After the  first time  that a
  26.                     data file has been plotted a screen image is saved in a
  27.                     disk file  and then  loaded into  memory whenever  this
  28.                     data is  replotted.   To exit the program and return to
  29.                     DOS press the F10 key.
  30.  
  31.      GRAYTEST.BAS   Draws a  gray scale  bar in the middle of the screen to
  32.                     test new patterns that you design.  Fully documented.
  33.  
  34.      DIPOLE.DAT     128 by  128 data  file of  the scattered sound pressure
  35.                     caused by  a small  gaussian variation in density in an
  36.                     otherwise homogeneous  medium.   As shown  in texts  on
  37.                     theoretical  acoustics,  density  variations  act  like
  38.                     dipole sources of radiation.
  39.  
  40.      DIPOLE.SAV     The screen image saved after plotting DIPOLE.DAT once.
  41.  
  42.      Brent Carruth
  43.      University of Utah
  44.